<?php

namespace app\common\model;
/**
 * [ZhSupportEducation  受教表]
 * @author [C。]
 * @return html
 */
class ZhSupportReplyEducation extends Base
{
    protected $name = 'zh_support_reply_education';
    /**
     * 根据搜索条件获取列表信息
     */
    public function getCount($map)
    {
        $join = [
            ['app_zh_support_reply r','r.id = d.rid'],
        ];
        $result = $this
            ->alias('d')
            ->join($join)
            ->where($map)
            ->count();

        return $result;
    }
}